﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> 
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"  />
<link href="//p0.meituan.net" rel="dns-prefetch" />
<link href="//p1.meituan.net" rel="dns-prefetch" />
<link href="//s0.meituan.net" rel="dns-prefetch" />
<link href="//s1.meituan.net" rel="dns-prefetch" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>
美团网触屏版</title>

<style type="text/css">
body, html,#allmap {width: 100%;height: 100%;overflow: hidden;hidden;margin:0;}
#l-map{height:100%;width:78%;float:left;border-right:2px solid #bcbcbc;}
#r-result{height:100%;width:20%;float:left;}
</style>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.4"></script>
</head>
<body> 

		
     <div id="allmap"></div>
<footer>
        
        </footer>

</body>
</html>
<script type="text/javascript">

var map = new BMap.Map("allmap", {enableHighResolution: true});
map.centerAndZoom(new BMap.Point(<?php echo $_GET["biao1"]; ?>,<?php echo $_GET["biao2"]; ?>), 17);
var marker1 = new BMap.Marker(new BMap.Point(<?php echo $_GET["biao1"]; ?>,<?php echo $_GET["biao2"]; ?>));  // 创建标注
map.addOverlay(marker1);              // 将标注添加到地图中

//创建信息窗口
var infoWindow1 = new BMap.InfoWindow("<?php echo iconv("gb2312","UTF-8",$_GET["title"]); ?>");
marker1.addEventListener("click", function(){this.openInfoWindow(infoWindow1);});



</script>